using System.Collections;
using System.Collections.Generic;
using System.Xml;
using EditorFrameWork;
using UnityEngine;

namespace EditorExtensions
{
    public class XMLGUILayoutHorizontal : XMLGUIContainedBase
    {
        public bool Box { get; set; }
        public override void ParseXML(XmlElement xmlElement, XMLGUI roolXMLGUI)
        {
            base.ParseXML(xmlElement, roolXMLGUI);
            Box =  GetAttributeValue<bool>(xmlElement, "box");
        }
        public override void OnGUI(Rect position)
        {
            base.OnGUI(position);
            GUILayout.BeginHorizontal();
            GUILayout.EndHorizontal();
            Xmlgui.Draw();
        }
    }
}